<%--
  Created by IntelliJ IDEA.
  User: 20432
  Date: 2025/2/17
  Time: 20:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
  <head>
    <title>Title</title>
  </head>
  <body>
  <a href="${pageContext.request.contextPath}/demo2/hello">[hello]</a>
  <a href="${pageContext.request.contextPath}/demo2/getBasicParam?username=eric&age=12">[basic]</a><br/>
  <form action="${pageContext.request.contextPath}/demo2/getAccount" method="post">
    账户<input type="text" name="name"><br>
    年龄<input type="text" name="age"><br>
    余额<input type="text" name="money"><br>
    <input type="submit" value="提交"><br>
  </form>
  <a href ="${pageContext.request.contextPath}/demo2/testRequestParam?username=eric&age=12">[测试testRequestParam]</a><br>

  <form action="${pageContext.request.contextPath}/demo2/testRequestBody" method="post">
    账号：<input type="text" name="name"> <br>
    密码：<input type="text" name="password"> <br>
    余额：<input type="text" name="money"> <br>
    <input type="submit" value="提交"> <br>
  </form>

  <a href="${pageContext.request.contextPath}/demo2/putData">提交请求数据</a>
  <a href="${pageContext.request.contextPath}/demo2/getData">获取请求数据</a>
  <a href="${pageContext.request.contextPath}/demo2/removeData">清除数据</a> <br>

  <a href="${pageContext.request.contextPath}/demo2/testPathVariable/100/eric">PathVariable</a>
  </body>

</html>
